﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Rượu Quê BA LY</title>
    <meta name="description" content="Rượu  BA LY" />
    <meta name="keywords" content="rượu quê,rượu nếp cẩm, rượu cái,lam ruou,rượu việt nam,ruou nep,nau ruou,rượu việt,
    gao cam,men ruou,cach nau ruou,gao nep,cai ruou,rượu nếp thơm,ruou ngon,rươu nếp cái hoa vàng,rượu ngâm thuốc,
    sản xuất rượu,rượu nếp,nuoc com ruou,ruou gao,the ruou,ruou nha,uong ruou,giai ruou,rượu mạnh,gia de ruou" />
    <meta name="generator" content="Ba ly" />
    <meta name="robots" content="Ruou ba ly" />
    <link rel="shortcut icon" type="image/x-icon" href="img/icon/icon.jpg" />
    <link href="css/global.css" rel="stylesheet" type="text/css" media="all" />

    <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>

    <script type="text/javascript" src="js/ajax-cart.js"></script>

    <script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>

    <script type="text/javascript" src="js/slide.js"></script>
    <script type="text/javascript" src="js/main.js"></script>

</head>
<body id="index">
    <form id="form1" runat="server">
        <div id="wrapper1">
            <div id="wrapper2">
                <div id="wrapper3">
                    <!-- Header -->
                    <div id="header">
                        <a id="header_logo" href="saved_resource.htm" title="Wine">
                            <img class="logo" src="img/logo(1).jpg" alt="Wine" />
                        </a>
                        <div id="header_right">
                            <!-- Block currencies module -->
                            <div id="currencies_block_top">
                                <form id="setCurrency" action="saved_resource.htm" method="post">
                                    <label>
                                        Currency:</label>
                                    <select onchange="setCurrency(this.value);">
                                        <option value="2" selected="selected">Dollar</option>
                                        <option value="1">Euro</option>
                                        <option value="3">Pound</option>
                                    </select>
                                    <input type="hidden" name="id_currency" id="id_currency" value="" />
                                    <input type="hidden" name="SubmitCurrency" value="" />
                                </form>
                            </div>
                            <!-- /Block currencies module -->
                            <!-- Block languages module -->
                            <div id="languages_block_top">
                                <ul id="first-languages">
                                    <li class="selected_language">
                                        <img src="img/1.jpg" alt="en" width="16" height="11" />
                                    </li>
                                    <li style="opacity: 0.3;"><a href="#" title="Fran">
                                        <img src="img/2.jpg" alt="fr" width="16" height="11" />
                                    </a></li>
                                    <li style="opacity: 0.3;"><a href="#" title="Espa">
                                        <img src="img/3.jpg" alt="es" width="16" height="11" />
                                    </a></li>
                                </ul>
                            </div>

                            <script type="text/javascript">
                                $('ul#first-languages li:not(.selected_language)').css('opacity', 0.3);
                                $('ul#first-languages li:not(.selected_language)').hover(function () {
                                    $(this).css('opacity', 1);
                                }, function () {
                                    $(this).css('opacity', 0.3);
                                });
                            </script>

                            <!-- /Block languages module -->
                            <ul id="header_links">
                                <li><a href="saved_resource.htm" class="active">Trang chủ</a></li>
                                <li><a href="#">Giới thiệu</a></li>
                                <li><a href="#">Liên Hệ</a></li>
                                <li><a href="#">Địa điểm bán</a></li>
                            </ul>
                            <!-- /Block permanent links module -->
                            <!-- Block search module TOP -->
                            <div id="search_block_top">
                                <form method="get" action="#" id="searchbox">
                                    <input class="search_query ac_input" type="text" id="search_query_top" name="search_query"
                                        value="Search" onfocus="if(this.value==&#39;Search&#39;)this.value=&#39;&#39;;"
                                        onblur="if(this.value==&#39;&#39;)this.value=&#39;Search&#39;;" autocomplete="off">
                                    <a href="javascript:document.getElementById('searchbox').submit();">Go!</a>
                                    <input type="hidden" name="orderby" value="position" />
                                    <input type="hidden" name="orderway" value="desc" />
                                </form>
                            </div>
                            <!-- /Block search module TOP -->
                            <!-- Block user information module HEADER -->
                            <ul id="header_user">
                                <li id="header_user_info"><a id="your_account" href="#" title="Your Account">
                                    <img src="img/3.jpg" alt="es" width="60" height="50" /></a> <a href="#">Log in</a>
                                </li>
                                <li id="shopping_cart"><a href="#" title="Your Shopping Cart">Giỏ hàng:</a> <span
                                    class="ajax_cart_quantity">3</span> <span class="ajax_cart_product_txt hidden" style="display: none;">Sản phẩm</span> <span class="ajax_cart_product_txt_s" style="">Sản phẩm</span>
                                    <span class="ajax_cart_total">$846.00</span> <span class="ajax_cart_no_product hidden"
                                        style="display: none;">(empty)</span> </li>
                            </ul>
                            <!-- /Block user information module HEADER -->
                        </div>
                    </div>
                    <div id="columns">
                        <!-- Left -->
                        <div id="left_column" class="column">
                            <!-- Block categories module -->
                            <div id="categories_block_left" class="block">
                                <h4>
                                    <a href="#=1">Loại Rượu</a></h4>
                                <div class="block_content">
                                    <ul class="tree dynamized" style="display: block;">
                                        <% System.Collections.Generic.List<LoaiEntity> list = LoaiBOL.getAllLoaiByStatus(1);
                                           bool co = false;
                                           foreach (var item in list)
                                           {
                                               String abc = item.Tenloai;
                                               if (!co)
                                               {
                                                   co = true;
                                        %>
                                        <li class="item_light"><a href="#" title="ngon"><% Response.Write(abc.ToString()); %> </a></li>
                                        <%
                                               }
                                               else
                                               {
                                                   co = false;
                                        %>
                                        <li class="item_dark"><a href="#" title="ngon"><% Response.Write(abc.ToString()); %> </a></li>
                                        <%
                                               }


                                           }
                                        %>
                                    </ul>
                                </div>
                                <h4>
                                    <a href="#">Liên Hệ</a></h4>
                                <div class="block_contentLH">
                                    <ul class="tree " style="display: block;">
                                        <li>
                                            <h5>
                                                <a href="#">0913.233.455</a>
                                            </h5>
                                        </li>
                                    </ul>
                                    <h5 class="yahoo" style="margin-left: 40px; margin-bottom: 5px">
                                        <a href="ymsgr:sendIM?banglv_a04448">
                                            <img src="http://opi.yahoo.com/online?u=banglv_a04448&amp;m=g&amp;t=2"></a>
                                    </h5>
                                    <ul class="tree " style="display: block;">
                                        <li>
                                            <h5>
                                                <a href="#">0976.494.744</a>
                                            </h5>
                                        </li>
                                    </ul>
                                    <h5 class="yahoo" style="margin-left: 40px">
                                        <a href="ymsgr:sendIM?bicoi_462010">
                                            <img src="http://opi.yahoo.com/online?u=bicoi_462010&amp;m=g&amp;t=2"></a>
                                    </h5>
                                </div>
                            </div>
                            <!-- MODULE Block cart -->
                            <div id="cart_block" class="block exclusive">
                                <h4>
                                    <a href="#">Giỏ hàng</a> <span id="block_cart_expand" class="hidden">&nbsp;</span>
                                    <span id="block_cart_collapse">&nbsp;</span>
                                </h4>
                                <div class="block_content">
                                    <!-- block summary -->
                                    <div id="cart_block_summary" class="collapsed">
                                        <span class="ajax_cart_quantity" style="">3</span> <span class="ajax_cart_product_txt_s"
                                            style="">products</span> <span class="ajax_cart_product_txt" style="display: none;">product</span> <span class="ajax_cart_total" style="">$846.00</span> <span class="ajax_cart_no_product"
                                                style="display: none;">(empty)</span>
                                    </div>
                                    <!-- block list of products -->
                                    <div id="cart_block_list" class="expanded">
                                        <dl class="products">
                                            <dt id="cart_block_product_1" class="first_item"><span class="quantity-formated"><span
                                                class="quantity">1</span>x</span> <a class="cart_block_product_name" href="http://livedemo00.template-help.com/prestashop_33845/product.php?id_product=1"
                                                    title="Canard-Duchene Vintage 2004">Canard-Duc...</a> <span class="remove_link"><a
                                                        class="ajax_cart_block_remove_link" rel="nofollow" href="http://livedemo00.template-help.com/prestashop_33845/cart.php?delete&id_product=1&ipa=0&token=7a507575c9b58c9b737adfe1e8dc5d7e"
                                                        title="remove this product from my cart"></a></span><span class="price">$25.00</span>
                                            </dt>
                                            <!-- Customizable datas -->
                                            <dt id="cart_block_product_2" class="item"><span class="quantity-formated"><span
                                                class="quantity">1</span>x</span> <a class="cart_block_product_name" href="http://livedemo00.template-help.com/prestashop_33845/product.php?id_product=2"
                                                    title="Lawson&#39;s Dry Hills Sauvignon Blanc 2009 Marlborough">Lawson's D...</a>
                                                <span class="remove_link"><a class="ajax_cart_block_remove_link" rel="nofollow" href="http://livedemo00.template-help.com/prestashop_33845/cart.php?delete&id_product=2&ipa=0&token=7a507575c9b58c9b737adfe1e8dc5d7e"
                                                    title="remove this product from my cart"></a></span><span class="price">$119.00</span>
                                            </dt>
                                            <!-- Customizable datas -->
                                            <dt id="cart_block_product_3" class="last_item"><span class="quantity-formated"><span
                                                class="quantity">1</span>x</span> <a class="cart_block_product_name" href="http://livedemo00.template-help.com/prestashop_33845/product.php?id_product=3"
                                                    title="The Parcel Series Shiraz 2008 Margaret River">The Parcel...</a> <span class="remove_link">
                                                        <a class="ajax_cart_block_remove_link" rel="nofollow" href="http://livedemo00.template-help.com/prestashop_33845/cart.php?delete&id_product=3&ipa=0&token=7a507575c9b58c9b737adfe1e8dc5d7e"
                                                            title="remove this product from my cart"></a></span><span class="price">$702.00</span>
                                            </dt>
                                            <!-- Customizable datas -->
                                        </dl>
                                        <p class="hidden" id="cart_block_no_products">
                                            No products
                                        </p>
                                        <div class="cart-prices">
                                            <div class="cart-prices-block">
                                                <span>Phí chuyển</span> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">$0.000.000</span>
                                            </div>
                                            <div class="cart-prices-block">
                                                <span>Tổng tiền</span> <span id="cart_block_total" class="price ajax_block_cart_total">$846.000.000</span>
                                            </div>
                                        </div>
                                        <p id="cart-price-precisions">
                                            Giá cả đã bao gồm thuế
                                        </p>
                                        <p id="cart-buttons">
                                            <a href="http://livedemo00.template-help.com/prestashop_33845/order.php" class="btn_cart"
                                                title="Cart">Giỏ hàng</a> <a href="http://livedemo00.template-help.com/prestashop_33845/order.php?step=1"
                                                    id="button_order_cart" class="btn_checkout" title="Check out">Đăng ký</a>
                                        </p>
                                    </div>
                                </div>
                            </div>
                            <!-- /MODULE Block cart -->
                            <!-- Block manufacturers module -->
                            <div id="manufacturers_block_left" class="block blockmanufacturer">
                                <h4>
                                    <a href="#" title="Bản đồ">Địa điểm bán rượu</a></h4>
                                <div class="block_content">
                                    <p>
                                        <a href="#" title="SiteMap">
                                            <img src="img/map.jpg" width="145px" /></a>
                                    </p>
                                </div>
                            </div>
                            <!-- /Block manufacturers module -->
                        </div>
                        <!-- Center -->
                        <div id="center_column" class="center_column">
                            <!-- piscesslider -->
                            <div id="slide_holder">
                                <div id="slider" style="position: relative; background-image: url(img/slide_02.jpg); background-position: initial initial; background-repeat: no-repeat no-repeat;"
                                    class="nivoSlider">
                                    <a href="#" class="nivo-imageLink" style="display: block;">
                                        <img src="img/slide_00.jpg" alt="" title="" style="display: none;" /></a> <a href="#"
                                            class="nivo-imageLink" style="display: none;">
                                            <img src="img/slide_01.jpg" alt="" title="" style="display: none;" /></a>
                                    <a href="#" class="nivo-imageLink" style="display: none;">
                                        <img src="img/slide_02.jpg" alt="" title="" style="display: none;" /></a>
                                    <div class="nivo-directionNav">
                                        <a class="nivo-prevNav">Prev</a><a class="nivo-nextNav">Next</a>
                                    </div>
                                </div>
                            </div>
                            <!-- /piscesslider -->
                            <!-- MODULE Home Featured Products -->
                            <div id="featured-products_block_center">
                                <h4>Sản phẩm đặc biệt</h4>
                                <div class="block_content">
                                    <ul>
                                        <asp:DataList ID="DTLRuouHome" runat="server" RepeatColumns="4" CellSpacing="1">
                                            <ItemTemplate>
                                                <li class="ajax_block_product">
                                                    <a href="Detail.aspx?RuouNo=<%# Eval("RuouNo") %>" class="product_image" rel="imgbig/<%# Eval("imgbig") %>" title='<%# Eval("tenruou") %>'>
                                                        <asp:Image ID="ImgIcon" runat="server" ImageUrl='<%# Bind("ImgIcon","imgicon/{0}") %>' />
                                                    </a>
                                                    <div class="product_info">
                                                        <asp:Label ID="lbltranhNo" runat="server" Visible="false" Text='<%# Eval("ruouNo") %>'></asp:Label>
                                                        <asp:Label ID="lblprice" runat="server" Visible="false" Text='<%#Eval("gia", "{0:0}") %>'></asp:Label>
                                                        <asp:Label ID="lbltentranh" runat="server" Visible="false" Text='<%# Eval("tenruou") %>'></asp:Label>
                                                        <h5>
                                                            <a class="product_link" href="#" title="Lorem ipsum duis interdum...">
                                                                <%# Eval("tenruou") %></a></h5>
                                                        <span class="price">
                                                            <%# (DataBinder.Eval(Container.DataItem, "gia").ToString() == "0.0000") ? ("Liên Hệ") : (Eval("gia", "{0:0,000}") + " VND")%></span>
                                                        <asp:Button ID="btndathang1" class="button" runat="server" CommandName="AddToCart"
                                                            Text="Đặt hàng" />
                                                    </div>
                                                </li>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </ul>
                                </div>
                            </div>
                            <!-- /MODULE Home Featured Products -->
                        </div>
                    </div>
                </div>
                <!-- Footer -->
                <div id="footer_wrapper">
                    <div id="footer">
                        <div id="tmfooterlinks">
                            <div>
                                <h4>Thông tin</h4>
                                <ul>
                                    <li><a href="#">Liên hệ </a></li>
                                    <li><a href="#">Giao hàng tận nơi </a></li>
                                    <li><a href="#">Thông báo pháp lý </a></li>
                                    <li><a href="#">Điều khoản và điều kiện </a></li>
                                    <li><a href="#">Giới thiệu </a></li>
                                </ul>
                            </div>
                            <div>
                                <h4>Sản phẩm</h4>
                                <ul>
                                    <li><a href="#">Sản phẩm mới </a></li>
                                    <li><a href="#">Bán chạy nhất </a></li>
                                    <li><a href="#">Khuyến mãi </a></li>
                                    <li><a href="#">Nhà sản xuất </a></li>
                                    <li><a href="#">Đại lý bản rượu</a></li>
                                </ul>
                            </div>
                            <div>
                                <h4>Tài khoản của bạn
                                </h4>
                                <ul>
                                    <li><a href="#">Tài khoản của bạn </a></li>
                                    <li><a href="#">Thông tin cá nhân </a></li>
                                    <li><a href="#">Địa chỉ </a></li>
                                    <li><a href="#">Giảm giá </a></li>
                                    <li><a href="#">Lịch sử đơn đặt hàng </a></li>
                                </ul>
                            </div>
                        </div>
                        <!-- [[%FOOTER_LINK]] -->
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
